package org.rc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.rc.dto.CasePageDto;
import org.rc.entity.Caze;

import java.util.List;

public interface CaseLibraryService {

    void removeAllRecords();

    void addCaseLibrary(List<Caze> cases);

    Page<Caze> getCasePage(CasePageDto casePageDto);

    Caze getDetailById(Long id);

    List<Caze> getAllTypes();

    List<Caze> getCasesByType(String type);

}
